package com.sale.system.service.impl;

import com.sale.system.domain.SysBasicParameter;
import com.sale.system.mapper.SysBasicParameterMapper;
import com.sale.system.service.ISysBasicParameterService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

/**
 * @Author: YSL
 * @Date: 2023-07-07 11:05:51
 * @Desc: 基础参数表
 */
@RequiredArgsConstructor
@Service
public class SysBasicParameterServiceImpl implements ISysBasicParameterService {

    /**
     * 基础参数Mapper
     */
    private final SysBasicParameterMapper sysBasicParameterMapper;

    /**
     * 新增基础参数
     * @param sysBasicParameter
     * @return
     */
    @Override
    public int insertBasicParameter(SysBasicParameter sysBasicParameter) {
        return sysBasicParameterMapper.insert(sysBasicParameter);
    }
}
